package com.cloud.log.autolevel.service;

import com.cloud.log.autolevel.bean.LoggerConfig;

import java.util.List;

/**
 * @author: ZhangKaiQiang
 * @date: 2020/12/29
 * @time: 14:10
 *
 * 动态修改日志的级别
 **/
public interface LogLevelSettingService {

    /**
     * 设置root级别的日志打印级别
     * @param level 级别
     */
    void  setRootLoggerLevel(String level);

    /**
     * 修改多个打印的日志级别
     * @param configList configList
     */
    void setLoggerLevel(List<LoggerConfig> configList);



}
